import request from '@/utils/request'

export function batchCreate(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/batchCreate',
    method: 'POST',
    data,
  })
}
export function create(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/create',
    method: 'POST',
    data,
  })
}
export function batchDeleteByIds(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/batchDeleteByIds',
    method: 'POST',
    data,
  })
}
export function deleteBy(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/deleteBy',
    method: 'POST',
    data,
  })
}
export function deleteById(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/deleteById',
    method: 'POST',
    data,
  })
}
export function detailBy(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/detailBy',
    method: 'POST',
    data,
  })
}
export function detailById(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/detailById',
    method: 'POST',
    data,
  })
}
export function list(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/list',
    method: 'POST',
    data,
  })
}
export function mapGroupById(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/mapGroupById',
    method: 'POST',
    data,
  })
}
export function page(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/mapGroupById',
    method: 'POST',
    data,
  })
}
export function edit(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/edit',
    method: 'POST',
    data,
  })
}
export function batchModify(data = {}) {
  return request({
    url: '/api/destroyer/user/userRoleMenu/batchModify',
    method: 'POST',
    data,
  })
}
